/*
@Time : 2020/8/6 10:20
@Author : lym
@File : PostParam
@Software: GoLand
*/
package model

/**
binding:"required" 校验器,校验非空
如果有多个校验器中间用,隔开,格式如下:
binding:"required,mustBig
*/
type PostParam struct {
	Name     string `json:"name" binding:"required"`
	Age      int    `json:"age" binding:"required,mustBig"`
	Sex      bool   `json:"sex"`
	Location string `json:"location" binding:"required,checkSpecialNum" `
}
